package com.qujia.station.mapper;

import com.qujia.station.domain.PhysicalCardBalance;
import com.qujia.station.domain.dto.PhysicalCardBalanceListDto;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface PhysicalCardBalanceMapper {
    int deleteByPrimaryKey(Long id);

    int insert(PhysicalCardBalance record);

    int insertSelective(PhysicalCardBalance record);

    PhysicalCardBalance selectByPrimaryKey(@Param("balanceNo") String balanceNo);

    PhysicalCardBalance getById(Long id);

    int updateByPrimaryKeySelective(PhysicalCardBalance record);

    int updateByPrimaryKey(PhysicalCardBalance record);

    int updateById(PhysicalCardBalance record);

    List<PhysicalCardBalanceListDto> selectPhysicalCardBalanceList(PhysicalCardBalanceListDto physicalCardBalanceListDto);
}